<%-- $RCSFile: RecoverPwd.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/Secure/RecoverPwd.aspx $
 $log$
 Revision 6 2010/08/09 10:51:22  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="RecoverPwd.aspx.cs" Inherits="AddonNice.Secure.RecoverPwd" MasterPageFile="~/MasterPages/ADNSecure.Master" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<asp:Content  ID='Content0' runat='server' ContentPlaceHolderID='ContentTitle'>
    <asp:literal id="lblTitle" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_LOSTPWD %>"  />
</asp:Content>
<asp:Content ID="Content2" runat='server' ContentPlaceHolderID='SecuredContent'>
    <asp:ScriptManagerProxy ID="SCMPRecoverPwd" runat='server' />
    <asp:PasswordRecovery ID="PasswordRecovery1" SkinID="PwdRecover" runat="server" >
    <UserNameTemplate>
        <div class='PwdRecoverTemplateMain' >
            <div class='PwdRecoverTemplateTitle' >
                <asp:literal id="Literal1" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_ENTERUSERNAME %>"  />
            </div>
            <div class='PwdRecoverTemplateRow' >
                <div class='PwdRecoverTemplateLeftCell'>
                    <asp:literal id="Literal2" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_USERNAME %>"  />
                 </div>
                <div class='PwdRecoverTemplateRightCell'>
                  <asp:textbox runat="server" id="UserName" Width='90%' />
                  <asp:requiredfieldvalidator runat="server" controltovalidate="UserName" errormessage="<%$ Resources:ADNCRM,LOGIN_RECOVER_USERNAME_REQ %>" id="UserNameRequired">*</asp:requiredfieldvalidator>
                </div>
            </div>
            <div class='PwdRecoverTemplateButtons' >
               <asp:imagebutton runat="server"  SkinID='Cancel_en' commandname="Cancel" alternatetext="<%$ Resources:ADNCRM,CANCEL %>"
                        id="CancelBtn" CausesValidation='false' />&nbsp;
              <asp:imagebutton runat="server"  SkinID='Validate_en' commandname="Submit" alternatetext="Submit" id="BtnValidateUser" />
            </div>
            <div class='PwdRecoverTemplateRow Error' >
              <asp:literal runat="server" id="FailureText"></asp:literal>
            </div>
        </div>
      </usernametemplate>
        <questiontemplate>
        <div class='PwdRecoverTemplateMain' >
            <div class='PwdRecoverTemplateTitle' >
                <asp:literal id="Literal2" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_IDCONF %>"  /><br />
                <asp:literal id="Literal3" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_ANSWERQUESTION %>"  />
            </div>
            <div class='PwdRecoverTemplateRow' >
                <div class='PwdRecoverTemplateLeftCell'>
                    <asp:literal id="Literal4" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_USERNAME %>"  />
                 </div>
                <div class='PwdRecoverTemplateRightCell'>
                    <asp:literal runat="server" id="UserName" />
                </div>
            </div>
            <div class='PwdRecoverTemplateRow' >
                <div class='PwdRecoverTemplateLeftCell'>
                   <asp:literal id="Literal6" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_QUESTION %>"  />
                 </div>
                <div class='PwdRecoverTemplateRightCell'>
                    <asp:literal runat="server" id="Question"  />
                </div>
            </div>
            <div class='PwdRecoverTemplateRow' >
                <div class='PwdRecoverTemplateLeftCell'>
                    <asp:literal id="Literal5" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_ANSWER %>"  />
                 </div>
                <div class='PwdRecoverTemplateRightCell'>
                    <asp:textbox runat="server" id="Answer"  Width='90%' />
                    <asp:requiredfieldvalidator runat="server" controltovalidate="Answer" errormessage="<%$ Resources:ADNCRM,LOGIN_RECOVER_ANSWER_REQ %>" id="AnswerRequired">*</asp:requiredfieldvalidator>
                </div>
            </div>
            <div class='PwdRecoverTemplateButtons' >
                   <asp:imagebutton runat="server"  SkinID='Cancel_en' commandname="Cancel" alternatetext="<%$ Resources:ADNCRM,CANCEL %>"
                            id="CancelBtn" CausesValidation='false' />&nbsp;
                    <asp:imagebutton runat="server"  SkinID='Validate_en' commandname="Submit" alternatetext="Submit" id="BtnValidateAnswer" />
            </div>
            <div class='PwdRecoverTemplateRow Error' >
                    <asp:literal runat="server" id="FailureText" />
            </div>
        </div>
    </questiontemplate>
        <SuccessTemplate>
        <div class='PwdRecoverTemplateMain' >
            <div class='PwdRecoverTemplateTitle' >
                 <asp:literal id="Literal6" runat="server" Text="<%$ Resources:ADNCRM,LOGIN_RECOVER_PWD_SENT %>"  /><br />
            </div>
            <div class='PwdRecoverTemplateButtons' >
                 <asp:ImageButton ID="BtnLogin" SkinID="Login_en" runat="server"  AlternateText="<%$ Resources:ADNCRM,LOGIN_RECOVER_LOGIN %>" CausesValidation="false" />&nbsp;
                 <asp:ImageButton ID="BtnHome" SkinID="Finish_en" runat="server"  AlternateText="<%$ Resources:ADNCRM,LOGIN_RECOVER_HOME %>" CausesValidation="false" />
                </div>
        </div>
        </SuccessTemplate>
    </asp:PasswordRecovery>
</asp:Content>